package com.maomao.template.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by admin on 2018/4/12.
 */
public class Role implements Serializable {
    private static final long serialVersionUID=1L;

    private int id;

    private String name;

    private Date createdate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createdate=" + createdate +
                '}';
    }
}
